feat(providers): discover VSCodium storage paths#233
Open
ozymandiashh wants to merge 1 commit into
Open
Conversation
Contributor
Author
|
Correction: this is fixture/path-discovery proof, not live VSCodium usage proof. What is proven on the PR branch:
Command rerun:
Limitation: I did not have real local VSCodium usage history, so this is not live-import proof. It proves the storage-root discovery and shared parser fixture behavior. |
d0f3b16 to
bb6d362
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #230 by teaching the VS Code-compatible providers to look in VSCodium storage roots, not only Microsoft VS Code roots.
The bug was straightforward: VSCodium uses the same extension storage layout as VS Code, but stores it under
VSCodium/User/.... Before this PR, CodeBurn could parse these providers correctly once pointed at the right files, but discovery never reached those files for VSCodium users.What changed
workspaceStorageroots.globalStorageroots instead of a single directory.globalStorageroots.homeDir/platformvalues so macOS, Linux, and Windows paths can be tested deterministically.Example
A VSCodium user can have valid usage files under paths like:
Those sessions now flow through the same Copilot/Roo/Kilo parsers as the existing VS Code paths instead of being invisible to CodeBurn.
Validation
npx vitest run tests/providers/vscode-cline-parser.test.ts tests/providers/copilot.test.ts tests/providers/roo-code.test.ts tests/providers/kilo-code.test.ts— 42/42 passed.npx tsc --noEmit --pretty false— passed.npm run build— passed.git diff --check— passed.check,semgrep, andassess— passed.Notes
I did not include real local VSCodium usage data here. Validation uses synthetic path fixtures and parser tests, so no local project names, prompts, paths, session IDs, usage values, or private product details are exposed.